﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo061803
{
    class User
    {
        private int id;
        private string name;
        private string pass;
        public int Id { get => id; set => id = value; }
        public string Name { get => name; set => name = value; }
        public string Pass { get => pass; set => pass = value; }
        public User(int id, string name, string pass)
        {
            this.id = id;
            this.name = name;
            this.pass = pass;
        }
        public User() { }
        public void Output() 
        {
            Console.WriteLine("用户账号：{0}，用户名：{1}，密码属性：{2}",this.id,this.name,this.pass);
        }
    }
}
